import http from './index';
import func from '../utils/index'

// 登录验证
export async function loginCheck(params) {
  return http.request({
    url: `/api/auth/login`,
    method: 'POST',
    data:func.toFormData(params)
  });
}